-- disable_longpress.lua
-- Created by zouyb Jun/24/2015
-- 禁止长按怪物

return {
    run = function(para)    
		local gridId = tonumber(para);
		local grid = DungeonM.getGridByPos(gridId);
		if not grid then
			return;
		end

        -- 禁止玩家长按
		grid.monster.dbase:set("forbid_longpress", 1);
    end,
};